package com.adxon.data;

import com.adxon.MsgException;

public class Ratee extends Asset{
	protected byte rt;				// rate

	@Override
	protected void commitExt()throws MsgException{
		super.commitExt();
		commit("rt",rt);
	}
	public byte getRate(){
		return rt;
	}
	public void setRate(int rate){
		rt=(byte)rate;
		tm=0;
	}
	@Override
	public void updateExt()throws MsgException{
		super.updateExt();
		rt=updateByte("rt");
	}
	public void setAll(Ratee src){
		super.setAll(src);
		rt=src.rt;
	}
}